package com.huawei.appgallery.microsearch.bean;

import com.huawei.appgallery.jsonkit.api.JsonBean;
import java.util.HashMap;
import java.util.Map;

public class MicroSearchAppInfo extends JsonBean {
    private static final String[] FIELD_NAME = new String[]{"id_", "name_", "icon_", "size_", "downloads_", "downCountDesc_", "stars_", "releaseDate_", "versionCode_", "packageName_", "detailId_", "downurl_", "comefrom_", "memo_", "isAdaptation_", "intro_", "sizeDesc_"};
    private static final Map<String, Integer> INFO_MAP = new HashMap(25);
    private String comefrom_;
    private String detailId_;
    private String downCountDesc_;
    private long downloads_;
    private String downurl_;
    private String icon_;
    private String id_;
    private String intro_;
    private boolean isAdaptation_;
    private String memo_;
    private String name_;
    private String packageName_;
    private String releaseDate_;
    private String sha256_;
    private String sizeDesc_;
    private long size_;
    private String stars_;
    private String versionCode_;

    static {
        int i = 0;
        while (i < FIELD_NAME.length) {
            INFO_MAP.put(FIELD_NAME[i], Integer.valueOf(i));
            i++;
        }
    }

    public String ˊ() {
        return this.downCountDesc_;
    }

    public String ˏ() {
        return this.name_;
    }

    public String ˋ() {
        return this.icon_;
    }

    public long ॱ() {
        return this.size_;
    }

    public long ˎ() {
        return this.downloads_;
    }

    public String ʽ() {
        return this.packageName_;
    }

    public String ʻ() {
        return this.memo_;
    }

    public String ʼ() {
        return this.intro_;
    }

    public String ॱॱ() {
        return this.sizeDesc_;
    }

    public static String[] ᐝ() {
        return (String[]) FIELD_NAME.clone();
    }

    public static int ˊ(String str) {
        return ((Integer) INFO_MAP.get(str)).intValue();
    }

    public String ͺ() {
        return this.id_;
    }

    public String ˊॱ() {
        return this.detailId_;
    }

    public String ˏॱ() {
        return this.downurl_;
    }

    public String toString() {
        return "AppSearchInfo = [id_ = " + ͺ() + ",name_ = " + ˏ() + ",icon = " + ˋ() + ",size_ = " + ॱ() + ",downlaods_ = " + ˎ() + ",downCountDesc_ = " + ˊ() + ",stars_ = " + ˋॱ() + ",releaseDate_ = " + ॱˋ() + ",versionCode_ = " + ᐝॱ() + ",package_ = " + ʽ() + ",detailId_ = " + ˊॱ() + ",downurl_  = " + ˏॱ() + ",comefrom_ = " + ॱᐝ() + ",memo_ = " + ʻ() + ",isAdaptation_ = " + ʻॱ() + ",intro_ = " + ʼ() + ",INFO_MAP = " + INFO_MAP + "sizeDesc_ = " + ॱॱ() + "]";
    }

    public Object[] ॱˊ() {
        return new Object[]{ͺ(), ˏ(), ˋ(), Long.valueOf(ॱ()), Long.valueOf(ˎ()), ˊ(), ˋॱ(), ॱˋ(), ᐝॱ(), ʽ(), ˊॱ(), ˏॱ(), ॱᐝ(), ʻ(), Boolean.valueOf(ʻॱ()), ʼ(), ॱॱ()};
    }

    public static boolean ˊ(String[] strArr) {
        if (strArr == null) {
            return true;
        }
        int length = strArr.length;
        int length2 = FIELD_NAME.length;
        if (length == 0 || length > length2) {
            return false;
        }
        int i = 0;
        while (i < length) {
            int i2 = 0;
            while (i2 < length2 && !FIELD_NAME[i2].equals(strArr[i])) {
                if (i2 == length2 - 1) {
                    return false;
                }
                i2++;
            }
            i++;
        }
        return true;
    }

    public String ˋॱ() {
        return this.stars_;
    }

    public String ॱˋ() {
        return this.releaseDate_;
    }

    public String ᐝॱ() {
        return this.versionCode_;
    }

    public String ॱᐝ() {
        return this.comefrom_;
    }

    public boolean ʻॱ() {
        return this.isAdaptation_;
    }

    public String ॱˎ() {
        return this.sha256_;
    }
}
